<div class="menu" ng-class="{whiteMenu:isActive!='/login'}">
    <div class="container">
        <div class="brand"></div>
        <ul>
            <li><a ui-sref="login" ng-class="{indexactive:isActive=='/login'}" ui-sref-opts="{reload: true}">首页</a></li>
            <li><a ui-sref="investment" ng-class="{indexactive:isActive=='/investment'||isActive=='/order'}" ui-sref-opts="{reload: true}">我要投资</a></li>
            <li><a ui-sref="loan" ng-class="{indexactive:isActive=='/loan'}" ui-sref-opts="{reload: true}">我要借款</a></li>
            <li><a ui-sref="account" ng-class="{indexactive:isActive=='/account'}" ui-sref-opts="{reload: true}">我的账户</a></li>
            <li><a href="#">关于我们</a></li>
        </ul>
        <div class="pull-right">
            <input type="button" value="登录" class="login-btn" ng-click="showLogin()" ng-show="showBtn"/>
            <span ng-show="!showBtn">{{userName}}</span>
        </div>
    </div>

</div>